-- GENERATED SPELL FOR [Dalar Dawnweaver] --


function spell0_1938(pUnit, Event) --@Arcane Intellect,n/a--
pUnit:FullCastSpellOnTarget(1460,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1938', 680, 1)
end

function Sorts_1938(pUnit, Event)
local choix_sorts_1938 = math.random(0, 0)
if choix_sorts_1938 == 0 then
pUnit:RegisterEvent('spell0_1938', 1, 1)
end
end

function mob1938_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1938', math.random(1500, 3000), 1)
end

function mob1938_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1938_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1938_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1938, 1, 'mob1938_Action')
RegisterUnitEvent(1938, 2, 'mob1938_Leave')
RegisterUnitEvent(1938, 3, 'mob1938_Kill')
RegisterUnitEvent(1938, 4, 'mob1938_Die')
